//
//  ModelOfPic.m
//  UI_Homework_08_02
//
//  Created by 黄威 on 16/5/12.
//  Copyright © 2016年 黄威. All rights reserved.
//

#import "ModelOfPic.h"

@interface ModelOfPic ()


@property (nonatomic , retain)NSMutableArray *picArr;


@end


@implementation ModelOfPic

+ (instancetype)ShareModelOfPicture{


    static ModelOfPic *model = nil;
    
    if (model == nil) {
        model = [[ModelOfPic alloc ]init];
    }


    return model;


}

- (void)addPictureForArr:(NSString *)imageName{

    [self.picArr addObject:imageName];


}

-(NSArray *)selectAllPicture{

    return self.picArr;

}

- (void)initPictureToArr:(NSArray *)picArr{

    self.picArr = picArr.mutableCopy;


}
@end
